package cn.sczhyt.modules.szhy.dao;

import cn.sczhyt.modules.szhy.entity.MeetingSignInEntity;
import cn.sczhyt.modules.szhy.entity.MeetingUserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 会议人员表
 * 
 * @author luoshijie
 * @email 1169414426@qq.com
 * @date 2020-11-25 16:45:59
 */
@Mapper
public interface MeetingUserDao extends BaseMapper<MeetingUserEntity> {

    void delectByMeetingId(String id,Integer status);

    Integer userCount(String meetingId);

    IPage<MeetingUserEntity> selectNotSignInByMeetingId(Page<MeetingUserEntity> pages,
                                                        @Param("meetingId") String meetingId,
                                                        @Param("list") List<String> list);
}
